home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Everything For A Hacker
/
19990506-[HACK].iso
/
HEXEDIT
/
CROSSASM
/
PS65A12.ARJ
/
MNEMTEST.ASM
< prev
next >
Wrap
Assembly Source File
|
1986-11-26
|
8KB
|
367 lines
.org 0
adc #forward1
adc #h'ff
adc (100),y
adc (100,x)
adc 100
adc 1000
adc 1000,x
adc 1000,y
adc forward1,x
adc h'ff,x
and #forward1
and #h'ff
and (100),y
and (100,x)
and 100
and 1000
and 1000,x
and 1000,y
and forward1,x
and h'ff,x
asl 100
asl 1000
asl 1000,x
asl a
asl forward1,x
asl h'ff,x
bcc reltst
bcs reltst
beq reltst
bit 1000
bit forward1
bit h'ff
reltst: bmi reltst
bne reltst
bpl reltst
brk
bvc reltst
bvs reltst
clc
cld
cli
clv
cmp #forward1
cmp #h'ff
cmp (100),y
cmp (100,x)
cmp 100
cmp 1000
cmp 1000,x
cmp 1000,y
cmp forward1,x
cmp h'ff,x
cpx #forward1
cpx #h'ff
cpx 100
cpx 1000
cpy #forward1
cpy #h'ff
cpy 100
cpy 1000
dec 100
dec 1000
dec 1000,x
dec forward1,x
dec h'ff,x
dex
dey
eor #forward1
eor #h'ff
eor (100),y
eor (100,x)
eor 100
eor 1000
eor 1000,x
eor 1000,y
eor forward1,x
eor h'ff,x
inc 100
inc 1000
inc 1000,x
inc forward1,x
inc h'ff,x
inx
iny
jmp (1000)
jmp 100
jmp 1000
jsr 100
jsr 1000
lda #forward1
lda #h'ff
lda (100),y
lda (100,x)
lda 100
lda 1000
lda 1000,x
lda 1000,y
lda forward1,x
lda h'ff,x
ldx #forward1
ldx #h'ff
ldx 0,y
ldx 100
ldx 100,y
ldx 1000
ldx 1000,y
ldy #forward1
ldy #h'ff
ldy 0,x
ldy 100
ldy 100,x
ldy 1000
ldy 1000,x
lsr 100
lsr 1000
lsr 1000,x
lsr a
lsr forward1,x
lsr h'ff,x
nop
ora #forward1
ora #h'ff
ora (100),y
ora (100,x)
ora 100
ora 1000
ora 1000,x
ora 1000,y
ora forward1,x
ora h'ff,x
pha
php
pla
plp
rol 100
rol 1000
rol 1000,x
rol a
rol forward1,x
rol h'ff,x
ror 100
ror 1000
ror 1000,x
ror a
ror forward1,x
ror h'ff,x
rti
rts
sbc #forward1
sbc #h'ff
sbc (100),y
sbc (100,x)
sbc 100
sbc 1000
sbc 1000,x
sbc 1000,y
sbc forward1,x
sbc h'ff,x
sec
sed
sei
sta (100),y
sta (100,x)
sta 100
sta 1000
sta 1000,x
sta 1000,y
sta forward1,x
sta h'ff,x
stx 100
stx 1000
stx forward1,y
stx h'ff,y
sty 100
sty 1000
sty forward1,x
sty h'ff,x
tax
tay
tsx
txa
txs
tya
synctst1:
adc #forward1
adc #forward2
adc (forward3),y
adc (forward3,x)
adc forward3
adc forward4
adc forward4,x
adc forward4,y
adc forward1,x
adc forward2,x
and #forward1
and #forward2
and (forward3),y
and (forward3,x)
and forward3
and forward4
and forward4,x
and forward4,y
and forward1,x
and forward2,x
asl forward3
asl forward4
asl forward4,x
asl a
asl forward1,x
asl forward2,x
bcc reltst2
bcs reltst2
beq reltst2
bit forward4
bit forward1
bit forward2
reltst2: bmi reltst2
bne reltst2
bpl reltst2
bvc reltst2
bvs reltst2
clc
cld
cli
clv
cmp #forward1
cmp #forward2
cmp (forward3),y
cmp (forward3,x)
cmp forward3
cmp forward4
cmp forward4,x
cmp forward4,y
cmp forward1,x
cmp forward2,x
cpx #forward1
cpx #forward2
cpx forward3
cpx forward4
cpy #forward1
cpy #forward2
cpy forward3
cpy forward4
dec forward3
dec forward4
dec forward4,x
dec forward1,x
dec forward2,x
dex
dey
eor #forward1
eor #forward2
eor (forward3),y
eor (forward3,x)
eor forward3
eor forward4
eor forward4,x
eor forward4,y
eor forward1,x
eor forward2,x
inc forward3
inc forward4
inc forward4,x
inc forward1,x
inc forward2,x
inx
iny
jmp (forward4)
jmp forward3
jmp forward4
jsr forward3
jsr forward4
lda #forward1
lda #forward2
lda (forward3),y
lda (forward3,x)
lda forward3
lda forward4
lda forward4,x
lda forward4,y
lda forward1,x
lda forward2,x
ldx #forward1
ldx #forward2
ldx 0,y
ldx forward3
ldx forward3,y
ldx forward4
ldx forward4,y
lsr forward3
lsr forward4
lsr forward4,x
lsr a
lsr forward1,x
lsr forward2,x
nop
ora #forward1
ora #forward2
ora (forward3),y
ora (forward3,x)
ora forward3
ora forward4
ora forward4,x
ora forward4,y
ora forward1,x
ora forward2,x
pha
php
pla
plp
rol forward3
rol forward4
rol forward4,x
rol a
rol forward1,x
rol forward2,x
ror forward3
ror forward4
ror forward4,x
ror a
ror forward1,x
ror forward2,x
rti
rts
sbc #forward1
sbc #forward2
sbc (forward3),y
sbc (forward3,x)
sbc forward3
sbc forward4
sbc forward4,x
sbc forward4,y
sbc forward1,x
sbc forward2,x
sec
sed
sei
sta (forward3),y
sta (forward3,x)
sta forward3
sta forward4
sta forward4,x
sta forward4,y
sta forward1,x
sta forward2,x
stx forward3
stx forward4
stx forward1,y
stx forward2,y
sty forward3
sty forward4
sty forward1,x
sty forward2,x
tax
tay
tsx
txa
txs
tya
synctst2:
.equ forward1,h'00
.equ forward2,h'ff
.equ forward3,100
.equ forward4,1000
.end